﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Camc.Quality.ProductionPlan
{
    public class ProductionTaskOutput
    {

        public Guid? Id { get; set; }
        /// <summary>
        /// 任务编号
        /// </summary>
        public string JobNumber { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string Model { get; set; }
        /// <summary>
        /// 发次
        /// </summary>
        public string LotNo { get; set; }


        /// <summary>
        /// 型号Id
        /// </summary>
        public Guid? ModelId { get; set; }
        /// <summary>
        /// 发次Id
        /// </summary>
        public Guid? LotNoId { get; set; }

        /// <summary>
        /// 产品图号
        /// </summary>
        public string DrawingNo { get; set; }

        /// <summary>
        /// 任务名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Amount { get; set; }
        /// <summary>
        /// 计划开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }
        /// <summary>
        /// 火箭交付日期
        /// </summary>
        public DateTime?EndDate { get; set; }

        /// <summary>
        /// 计划状态
        /// </summary>
        public ProductingStatus ProductingStatus { get; set; }
        /// <summary>
        /// 计划状态描述
        /// </summary>
        public string ProductingStatusDesc { get; set; } = "";
        /// <summary>
        /// 工步完成进度
        /// </summary>
        public decimal StepCompletionSchedule { get; set; } = 0;

        /// <summary>
        /// 工时完成进度
        /// </summary>
        public decimal HourCompletionSchedule { get; set; } = 0;

        /// <summary>
        /// 调度员Id
        /// </summary>
        public long DispatcherId { get; set; }

        /// <summary>
        /// 调度员描述
        /// </summary>
        public string DispatcherName { get; set; }

        /// <summary>
        /// 原因或依据
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string AssignmentAuthor { get; set; }
        /// <summary>
        /// 编制时间
        /// </summary>
        public string AssignmentTime { get; set; }
        /// <summary>
        /// 火箭状态
        /// </summary>
        public string RocketState { get; set; }


        /// <summary>
        /// 仓库ID
        /// </summary>
        public Guid StoreId { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string StroeName { get; set; }
    }
}
